package com.ruoyi.project.WxMoudle.Bases;

import org.springframework.transaction.annotation.Transactional;

/**
 * Created by admin on 2017/10/20.
 */
@Transactional(rollbackFor = Exception.class)
public class WeixinConfig {


     public static String APPID = "wx7a2b2f5b0dc0b9e1"; //客户微信公众号ID
//    public static String APPID = "wx76823dfb05c50794"; // 微信公众号ID
     public static String APPSECRET = "38179bf994cb7c03d78f5629083578b7";//客户开发者密码
//    public static String APPSECRET = "6f1641e7a241ee61d5ded306e8eed363";//开发者密码

     public static String MACHINEDID = "1600566298";//客户商户号
//    public static String MACHINEDID = "1255996901";//商户号
    public static String PAYKEY = "n6MiJAhkPCmorBH1Ub2R3cLgXzmHoiz3";//客户支付秘钥
//    public static String PAYKEY = "34443afdsd34443111sd34443afdsd22";//支付秘钥

    public static String PUSH_MSG_TEMPLATE = "BQZRicJn643qDkVuxT5SnpPOqj9dd1ttED_lPQvxlSY"; //公众号推送到账通知模板

   // public static String SSLCERT_PATH = "classpath:cert/1255996901_20191126_cert/apiclient_cert.p12";     //证书地址
    public static String SSLCERT_PATH = "classpath:cert/1600566298_20200628_cert/apiclient_cert.p12";     //客户证书地址
   // public static String PUBLIC_PEM_PATH = "classpath:cert/1255996901_20191126_cert/pkcs8_pubkey.pem";   //RAS 加密地址
    public static String PUBLIC_PEM_PATH = "classpath:cert/1600566298_20200628_cert/pkcs8_pubkey.pem";   //客户RAS 加密地址

    public static String PAY_TO_PERON = "https://api.mch.weixin.qq.com/mmpaymkttransfers/promotion/transfers"; // 企业微信提现到零钱
    public static String PAY_TO_BANK = "https://api.mch.weixin.qq.com/mmpaysptrans/pay_bank"; // 企业微信提现到银行卡
    public static String RAS_PUBLIC_KEY = "https://fraud.mch.weixin.qq.com/risk/getpublickey"; // 获取RAS公钥

    //请求客户端ip
    public static final String SPBILL_CREATE_IP = "116.255.175.24";
    //支付回调路径
    //public static final String NOTIFY_URL = "https://do.anssy.com/yyIntegral/wx/order/successPay";
    public static final String NOTIFY_URL = "https://wx.youyoujifen.com/yyIntegral/wx/order/successPay";
    //交易类型
    public static final String TRADE_TYPE = "JSAPI";
    //项目地址
    //public static final String NOW_URL = "https://do.anssy.com/yyIntegral";
    public static final String NOW_URL = "https://wx.youyoujifen.com/yyIntegral";


    /*==================================短信模板================================================*/
    /**
     * 发送短信地址
     */
    public static final String BASE_URL = "https://openapi.miaodiyun.com/distributor/sendSMS";
    /*
     * 开发者注册后系统自动生成的账号，可在官网登录后查看
     */
    //public static final String ACCOUNT_SID = "4872039f907d439786a832dbf836a24b";
    public static final String ACCOUNT_SID = "ca220af2f069afd7c344098ff00dbc71";

    /**
     * 开发者注册后系统自动生成的TOKEN，可在官网登录后查看
     */
    //public static final String AUTH_TOKEN = "2c73da8a69b8816ca60f3f23ba926883";
    public static final String AUTH_TOKEN = "238212b0c120f2d37c00ddfaa50bf783";


    public static final String ADVISE_TEMPLATE = "252217";
    public static final String  CHECK_TEMPLATE = "252216";





}
